<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
	.errorLabel {
		border-color: red;
		color: red;
	}
	.required {
		font-weight: bold;
	}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><s:text name="registration.message" /></title>
</head>
<body>
	<s:text name="registration.message" /><br /><br />
	
	<s:form action="Registration" focusElement="username">
		<s:textfield name="username" key="prompt.username" size="20" required="true" />
		<s:textfield name="firstname" key="prompt.firstname" size="20" required="true" />
		<s:textfield name="lastname" key="prompt.lastname" size="20" required="true" />
		<s:password name="password" key="prompt.password" size="20" required="true" />
		<s:textfield name="email" key="prompt.email" size="20" />
		<s:textfield name="resident" key="prompt.resident" size="20" />
		<s:textfield name="zipCode" key="prompt.zipcode" size="20" />
		<s:textfield name="street" key="prompt.street" size="20" />
		
		<s:submit method="execute" key="button.register" align="center" />
	</s:form>
	
	<s:a action="Registration_backwards"><s:text name="button.back" /></s:a>
	
	<font color="red">
		<s:actionerror label="label" />
	</font>
	
	<br />
	
</body>
</html>